<!-- 添加年检记录 -->
<div class="layui-col-md12">

    <div class="layui-col-xs6 layui-col-md12">
        <form class="layui-form form-auto">
            <div class="layui-form-item layui-col-md12">
                <div class="layui-inline ">
                    <label class="layui-form-label">车牌号</label>
                    <div class="layui-input-inline">
                        <input type="hidden" class="car_id" name="car_id" value="{$item.car_id}" />
                        <input type="text" class="layui-input number" name='number' value="{$Think.get.number}" lay-verify="required" data-msg="车牌号不能为空"
                            readonly/>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">保险服务商</label>
                    <div class="layui-input-inline">
                        <!-- <input type="text" name="service_id" lay-verify="required" autocomplete="off"  class="layui-input"> -->
                        <select class="service_id" name="service_id" lay-verify="" lay-search="">
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">年检时间</label>
                    <div class="layui-input-inline">
                        <input type="text" id="start_date" name="start_date" autocomplete="off" class="layui-input" readonly>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">过期时间</label>
                    <div class="layui-input-inline">
                        <input type="text" name="end_date" id="end_date" autocomplete="off" class="layui-input" readonly>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">送检人</label>
                    <div class="layui-input-inline">
                        <input type="text" name="sender" lay-verify="" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">年检人</label>
                    <div class="layui-input-inline">
                        <input type="text" name="checker" lay-verify="" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">年检费用</label>
                    <div class="layui-input-inline">
                        <input type="number" name="price" lay-verify="" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">年检状态</label>
                    <div class="layui-input-inline">
                        <input type="radio" name="state" lay-verify="" checked autocomplete="off" class="layui-input" value="1" title="通过">
                        <input type="radio" name="state" lay-verify="" autocomplete="off" class="layui-input" value="9" title="未通过">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">单据编号</label>
                <div class="layui-input-block" style="width:555px;">
                    <input type="text" name="bill_no" lay-verify="" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-form-text  layui-col-md12">
                <label class="layui-form-label">备注说明</label>
                <div class="layui-input-block" style="width:555px;">
                    <textarea placeholder="请输入内容" class="layui-textarea" lay-verify="remark" name='remark'></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">照片</label>
                <div class="layui-upload">
                    <div class="layui-upload-list">
                        <img class="layui-upload-img" id="img1" class="img">
                        <p id="demoText"></p>
                        <button type="button" class="layui-btn" style="margin-left: 150px;width: 100px;" id="test1">上传图片</button>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="button" style="margin:0 auto;display: inline-block;" class="layui-btn layui-btn-normal keep" lay-submit=""
                        lay-filter="save">保存</button>
                    <button type="button" style="margin:0 auto;display: inline-block;" class="layui-btn layui-btn-normal back">返回上一页</button>
                </div>
            </div>
        </form>
    </div>
</div>